package com.xh.demo.common.annotation;

import java.lang.annotation.*;

/**
 * @Name MyRequestBody
 * @Description 我的@RequestBody注解(在@RequestBody基础上添加处理逻辑)
 * @Author wen
 * @Date 2019-08-04
 */
@Target(ElementType.PARAMETER)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyRequestBody {

    /** 是否必传,默认true **/
    boolean required() default true;

}
